package com.freeman.cement.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 登录用户，staff使用用户名登录后就是User
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String token;
    private String userCode;
    private String username;
    private String realname;
    /**
     * 摄像头组id
     */
    private Integer groupId;
    private String deptName;
    private Integer deptId;
    private String worksection;
    private String role;
    private Date lastActiveTime; // 最后活动时间

}
